package org.raymond.iworks.apis.vo.role;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class RoleCreateVO {
    /**
     * 角色名称
     */
    @NotEmpty(message = "name不能为空")
    private String name;
    private String remark;
    /**
     * 关联的权限
     */
    private List<Long> permissions;
}
